package com.pactera.madp.cp.api.entity.channel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ChannelCodeContactStatisticsEntity
 *
 * @author jun
 * @version 1.0
 * 2021/8/4 14:52
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cp_channel_code_contact_statistics")
@ApiModel(value = "渠道码分组")
public class ChannelCodeContactStatisticsEntity extends BaseEntity<ChannelCodeContactStatisticsEntity> {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工id")
    private Integer employeeId;

    @ApiModelProperty(value = "成员状态（1、使用成员 2备用成员 3不在渠道活码中的成员）")
    private Integer employeeStatus;

    @ApiModelProperty(value = "渠道活码id")
    private Integer channelId;

    @ApiModelProperty(value = "客户新增总数")
    private Integer allAddContact;

    @ApiModelProperty(value = "流失客户总数")
    private Integer allLossContact;

    @ApiModelProperty(value = "今日流失客户数")
    private Integer newLossContact;

    @ApiModelProperty(value = "今日新增客户数")
    private Integer newAddContact;

    @ApiModelProperty(value = "客户总数")
    private Integer allContact;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;
}
